<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>3d</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<style>
    .box{
        width:200px;height:200px;background:lawngreen;margin:100px auto 0;
        transition:1s all ease;
        transform:perspective(1000px) rotateX(0);
    }
    .box:hover {
        transform: perspective(1000px) rotateX(70deg);
    }

</style>
<body>
    <div class="box" >aasdasd</div>
</body>
</html>